<!-- 文本友情链接 -->
<div class="w1024 flink center">
    <div class="_txt">
    {pc:link action="type_list" siteid="$siteid" linktype="0" order="listorder DESC" num="30" return="dat"}
        {for $i=0; $i<30; $i++}
        {if $i < count($dat)}
        <a href="{$dat[$i][url]}" target="_blank">{$dat[$i][name]}</a>
        {else}
        <a href="{APP_PATH}index.php?m=link&c=index&a=register&siteid={$siteid}">点击申请链接</a>
        {/if}
        {/for}
    {/pc}
    </div>
</div>
